package day05;

public class Arraydome {
    public static void main(String[] args) {
        /*int[] arr= new int[56];
        int[] arr3=new int[]{2,5,6};
        int[] arr6={};
        int[] arr7={2,3,6};
        int[] arr9;
        arr9=new int[]{6,9,3};*/

       /* int[] arr=new int[3];
        System.out.println("数组长度："+arr.length);
        System.out.println(arr[0]);
        arr[0]=100;
        arr[1]=200;
        arr[2]=30000;
        System.out.println(arr[arr.length-1]);*/
        int[] arr=new int[10];
        for(int i=0;i<arr.length;i++){
            arr[i]=(int)(Math.random()*100+1);
            System.out.println(arr[i]);
        }


    }
}
